package com.zjh.springsecurity03.mapper;

import com.zjh.springsecurity03.pojo.Role;
import com.zjh.springsecurity03.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.security.core.userdetails.UserDetails;

import java.util.List;
import java.util.Set;

@Mapper
public interface UserMapper {


     User getUserByName(String username) ;
     List<Role> getRolesByUid(Integer id) ;
}
